﻿using GameNetwork.Interfaces;
using GameNetwork.Network;

using StructureMap;

namespace GameNetwork
{
    public static class GameClientRegistry
    {
        public static void Register()
        {
            var manager = new NetworkManager();

            ObjectFactory.Configure(x => x.For<IMenuNetwork>().Use(manager));
            ObjectFactory.Configure(x => x.For<IGameNetwork>().Use(manager));
        }
    }
}